﻿
namespace SpringSeries.Core.TypeMatching
{
    public class Person2
    {
        private string _firstName;
        private short _age;
        private string _lastName;

        public string FirstName
        {
            get { return _firstName; }
            set { _firstName = value; }
        }

        public string LastName
        {
            get { return _lastName; }
            set { _lastName = value; }
        }

        public short Age
        {
            get { return _age; }
            set { _age = value; }
        }

        public Person2(string firstName, string lastName, short age)
        {
            _firstName = firstName;
            _lastName = lastName;
            _age = age;
        }
    }
}
